package com.etc.library.dao;

import com.etc.library.pojo.Category;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface CategoryMapper {
    int add(Category category);

    int update(Category category);


    List<Category> list(Map<String,Object> params);

    Category get(Integer cid);
}
